function reCaptcha() {
    var rdm = Math.random();
    $("#changeCheckCode").attr("src", "/checkCode.json?rdm=" + rdm);
}

var loginSubmit = function(){
    $.ajax({
        url:"loginWeb/login.json",
        type:'POST',
        dataType:"json",
        data:$("#loginForm").serialize(),
        success:function(result){
            if(result.isOK == "OK"){
                window.location.href="/";
                queryTrollyNum();
            }else {
                alert(result.msg);
            }
        }
    });
}